How can I correctly implement the 'decompress' function to achieve the desired output

welcome to shbcf.ru